package com.site.wisdom_construction.service.qualityModule;

import com.site.wisdom_construction.dao.qualityModule.QualityDistrictDao;
import com.site.wisdom_construction.entity.qualityModule.QualityDistrict;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/13
 * @Description
 */
@Service
public class QualityDistrictService implements QualityDistrictDao {
    @Autowired
    private QualityDistrictDao qualityDistrictDao;

    @Override
    public int insertQualityDistrict(Map map) {
        return qualityDistrictDao.insertQualityDistrict(map);
    }

    @Override
    public int deleteQualityDistrict(Map map) {
        return qualityDistrictDao.deleteQualityDistrict(map);
    }

    @Override
    public int updateQualityDistrict(Map map) {
        return qualityDistrictDao.updateQualityDistrict(map);
    }

    @Override
    public List<QualityDistrict> findQualityDistrictByPage(Map map) {
        return qualityDistrictDao.findQualityDistrictByPage(map);
    }

    @Override
    public long Total(Map map) {
        return qualityDistrictDao.Total(map);
    }

    @Override
    public List<QualityDistrict> selectQualityDistrict(Map map) {
        return qualityDistrictDao.selectQualityDistrict(map);
    }
}
